package org.dromara.community.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import jakarta.persistence.GeneratedValue;
import jakarta.persistence.GenerationType;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 公告图片(AsNoticeImage)实体类
 *
 * @author makejava
 * @since 2024-07-31 19:13:01
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("as_notice_image")
public class AsNoticeImage extends Model<AsNoticeImage> {
    private static final long serialVersionUID = 913435661470776835L;
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long id;
    /**
     * 图片id
     */
    private Integer imageId;
    /**
     * 图片
     */
    private String url;


}

